SELECT Id FROM new_searchtable where (town = 'Cornish' and state='NH' or town = 'Eastman' and state='NH' or town = 'Enfield' and state='NH' or town = 'Hanover' and state='NH' or town = 'Lebanon' and state='NH' or town = 'Lyme' and state='NH' or town = 'Plainfield' and state='NH' ) and (type = 'R' or type ='O') AND list_price BETWEEN '0' AND '30000000' ORDER BY list_price Desc Upper Valley Area NH Homes page 65